We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ebaa3 commit 559ed6dCopy full SHA for 559ed6d
kitsune/sumo/static/sumo/js/questions.js
@@ -311,7 +311,8 @@ function initReplyToAnswer() {
311
var contentId = $(this).data('content-id'),
312
$content = $('#' + contentId),
313
text = $content.find('.content-raw').text(),
314
- reply_text = `''<p>Another post [[#${contentId}|${gettext('said')}]]</p>''\n<blockquote>${text}\n</blockquote>\n\n`,
+ user = $content.find('.display-name').text(),
315
+ reply_text = `''<p>${user} [[#${contentId}|${gettext('said')}]]</p>''\n<blockquote>${text}\n</blockquote>\n\n`,
316
$textarea = $('#id_content'),
317
oldtext = $textarea.val();
318
0 commit comments